﻿using System;
using AdAggregator.SearchData;
using RealEstateAggregator.Utils;

namespace RealEstateAggregator.Models.SearchData
{
    public class DomiportaPlSearchData : BaseSearchData
    {
        public String City { get; set; }
        public String Voivodship { get; set; }
        public String District { get; set; }
        public String Street { get; set; }
        public String Localization { get; set; }
        public String AdvertisementType { get; set; }
        public MarketType MarketType { get; set; }
        public String EstateType { get; set; }
        public String PriceMin { get; set; }
        public String PriceMax { get; set; }
        public String PricePerMeterMin { get; set; }
        public String PricePerMeterMax { get; set; }
        public String AreaMin { get; set; }
        public String AreaMax { get; set; }
        public String FloorMin { get; set; }
        public String FloorMax { get; set; }
        public String RoomCountMin { get; set; }
        public String RoomCountMax { get; set; }
        public String YearBuiltMin { get; set; }
        public String YearBuiltMax { get; set; }
        public String Keywords { get; set; }
        public bool OnlyWithPhoto { get; set; }

        public DomiportaPlSearchData()
        {
            City = String.Empty;
            Voivodship = String.Empty;
            District = String.Empty;
            Street = String.Empty;
            Localization = String.Empty;
            AdvertisementType = String.Empty;
            MarketType = MarketType.Secondary;
            EstateType = String.Empty;
            PriceMin = String.Empty;
            PriceMax = String.Empty;
            PricePerMeterMin = String.Empty;
            PricePerMeterMax = String.Empty;
            AreaMin = String.Empty;
            AreaMax = String.Empty;
            FloorMin = String.Empty;
            FloorMax = String.Empty;
            RoomCountMin = String.Empty;
            RoomCountMax = String.Empty;
            YearBuiltMin = String.Empty;
            YearBuiltMax = String.Empty;
            Keywords = String.Empty;
            OnlyWithPhoto = false;
            Page = 1;
            OrderBy = String.Empty;
        }
    }
}